input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
}

input[type=text],input[type=password],textarea,select{
    height: 30px;
    border:1px solid @border-color;
    padding: 2px 5px;
    outline: none;
    color:@gray;
    border-radius: 2px;

    &:hover,&:active{
        border-color: darken(@border-color,10%);
    }

    &:focus{
    border-color: @base-color;
     @shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 6px lighten(@base-color, 20%);
      .box-shadow(@shadow);
    }
}

input[type=text].obtm,input[type=password].obtm{
    border-top: none;
    border-left: none;
    border-right:none;
    .box-shadow(none);
}

textarea{
    resize: none;
    height: auto;
    display: block;
    width: 100%;
    padding: 6px 12px;
}


.input-icon{
    position: relative;
    display: inline-block;
    vertical-align: middle;

    input[type=text],input[type=password]{
        padding-left: 25px;

    }

    input[type=text]:focus+i.icon,input[type=password]:focus+i.icon{
        color: @base-color;
    }

    i{
        position: absolute;
        left: 5px;
        top: 7px;
        font-size: 16px;
        color:@gray-light;
    }

    &.r{
        input[type=text],input[type=password]{
            padding-left: 5px;
            padding-right: 25px;
        }

        i{
            right: 7px;
            left: auto;
        }
    }
}

.input-btn{
    display: inline-block;
    vertical-align: middle;    
    input{
        border-right: none;
    }
    .btn{
        margin-left: -1px;
        vertical-align: top;
    }
}


input[type=radio]{
    cursor: pointer;
    display: none;
}

input[type=radio]+label{
    position: relative;
    padding-left: 18px;
    cursor: pointer;
    &:after{
        .icon;
        color:@base-color;
        position: absolute;
        content: "\e609";
        left: 0;
        font-size: 15px;
        top: 3px;        
    }
}

input[type=radio]:checked+label{
    &:after{
        content: "\e60b";
    }
}


input[type=checkbox]{
    cursor: pointer;
    display: none;
}

input[type=checkbox]+label{
    position: relative;
    padding-left: 18px;
    cursor: pointer;
    &:after{
        .icon;
        color:@base-color;
        position: absolute;
        content: "\e60c";
        left: 0;
        font-size: 15px;
        top: 3px;        
    }

    &.sm{
        font-size: 12px;

        &:after{
            font-size: 12px;
            top: 5px;
        }
    }
}

input[type=checkbox]:checked+label{
    &:after{
        content: "\e60a";
    }
}

input[type=checkbox]:disabled+label,input[type=radio]:disabled+label{
    color:@gray-light;
    cursor: not-allowed;
    &:after{
        color:@gray-light;
    }
}

input[type=text]:disabled,input[type=password]:disabled{
    color:@gray-light;
    background-color: @gray-lighter;
    cursor: not-allowed;
}